┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/usr/lib/python3.12/site-packages/cockpit/data
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: __init__.py
import sys if sys.version_info >= (3, 11): import importlib.resources def read_cockpit_data_file(filename: str) -> bytes: return (importlib.resources.files('cockpit.data') / filename).read_bytes() else: import importlib.abc def read_cockpit_data_file(filename: str) -> bytes: # https://github.com/python/mypy/issues/4182 loader = __loader__ # type: ignore[name-defined] assert isinstance(loader, importlib.abc.ResourceLoader) path = __file__.replace('__init__.py', filename) return loader.get_data(path)
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📁 __pycache__/
DIR
—
2026-04-06 07:14
📄 __init__.py
PY
574 B
2025-08-06 00:00
EDIT
📄 cockpit-bridge.beipack.xz
XZ
94.6 KB
2025-08-06 00:00
EDIT
📄 fail.html
HTML
3.1 KB
2025-08-06 00:00
EDIT